<?php
namespace common\modules\rbac\backend;

use Yii;

/**
 * GUI manager for RBAC.
 * 
 * @author Xuegui Yuan <yuanxuegui@163.com>
 */
class Module extends \common\core\BackendModule
{
    public $alias = "@rbacBackend";
    
    /**
     * @inheritdoc
     */
    public $defaultRoute = 'assignment';

    /**
     * @inheritdoc
     * @var array
     * @see [[items]]
     */
    public $menuItems = [
        'assignment/index' => '分配',
        'role/index' => '角色',
        'permission/index' => '权限',
        'route/index' => '路由',
        'rule/index' => '规则'
    ];

    /**
     * @inheritdoc
     */
    public function init()
    {
        parent::init();
    }
}